package com.example.springboottx.service;

import com.example.springboottx.bean.Computer;

import java.util.HashMap;
import java.util.List;

public interface ComputerService {
    int insertComputer(Computer computer);

    Computer selectOneComputer(String name);

    long insertComputerTestSelectKey(Computer computer);

    Computer findOneBy2Param(String computerName,Integer computerPrice);

    List<Computer> selectAllComputer(String keyboard, String mouse);

    Computer findByMap(HashMap<String,String> map);
}
